<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="me.linczh.bank.bean.LogBean" %>

<p>
	<%=request.getAttribute("contentpage") %>
</p>
<% if (request.getAttribute("logs") != null) {
			List<LogBean> logs = (List<LogBean>)request.getAttribute("logs");
			for (LogBean l : logs) { %>
<p>
	[<%=l.getOperation() %>]&nbsp;
	<%=l.getEmployeename() %>(<%=l.getEmployee() %>):
	<%=l.getAccount() %>&nbsp;
	<%=l.getOperation() %>&nbsp;by&nbsp;
	<%=l.getUsername() %>(<%=l.getIdentity() %>)&nbsp;at&nbsp;
	<%=l.getTime() %>
</p>
<%		}
	 } else { %>
<p>
No logs!
</p>
<% } %>